package com.itheima.mapper;

import com.itheima.pojo.OrderDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author :WuJunJie
 * packageName :com.itheima.mapper
 * fileName :OrderDetailsMapper
 * creationTime :2022-11-28 19:46
 */
@Mapper
public interface OrderDetailsMapper {
    List<OrderDetails> selectByOrderId(@Param("orderId") String orderId);

    Integer insertListOrderDetails(@Param("orderDetailsList") List<OrderDetails> orderDetailsList);

    List<OrderDetails> selectByOrderIds(@Param("ids") Set<String> ids);
}
